package com.eduhzy.ttw.teacher.di.component;

import com.eduhzy.ttw.teacher.di.module.SetUpModule;
import com.eduhzy.ttw.teacher.mvp.contract.SetUpContract;
import com.eduhzy.ttw.teacher.mvp.ui.activity.ChangePasswordActivity;
import com.eduhzy.ttw.teacher.mvp.ui.activity.HomeActivity;
import com.eduhzy.ttw.teacher.mvp.ui.activity.SetUpActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;

@ActivityScope
@Component(modules = SetUpModule.class, dependencies = AppComponent.class)
public interface SetUpComponent {
    void inject(SetUpActivity activity);

    void inject(ChangePasswordActivity activity);

    void inject(HomeActivity homeActivity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        SetUpComponent.Builder view(SetUpContract.View view);

        SetUpComponent.Builder appComponent(AppComponent appComponent);

        SetUpComponent build();
    }


}